﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TaobaoDistrSales.Common
{
    public static class Constants
    {
        #region Const String

        public const string TopUrlKey = "topurl";
        public const string SandBoxUrlKey = "sanboxurl";
        public const string UseTopKey = "usetop";

        public const string TopUrl = "http://gw.api.taobao.com/router/rest";

        public const string ConnectionStrName = "connectionStrName";

        #endregion

        #region Delivery Status

        public const string Delivery_Failed = "failed";
        public const string Delivery_Waiting = "waiting";
        public const string Delivery_Completed = "completed";
        public const string Delivery_UnKnown = "unknown";

        #endregion

        #region Purchase Order Status

        public const string PurchaseOrder_WAIT_BUYER_PAY = "WAIT_BUYER_PAY";
        public const string PurchaseOrder_WAIT_SELLER_SEND_GOODS = "WAIT_SELLER_SEND_GOODS";
        public const string PurchaseOrder_WAIT_BUYER_CONFIRM_GOODS = "WAIT_BUYER_CONFIRM_GOODS";
        public const string PurchaseOrder_TRADE_FINISHED = "TRADE_FINISHED";
        public const string PurchaseOrder_TRADE_CLOSED = "TRADE_CLOSED";
        public const string PurchaseOrder_TRADE_CLOSED_BY_TAOBAO = "TRADE_CLOSED_BY_TAOBAO";

        #endregion

        #region Order Type

        public const string OrderType_Virtual_Goods = "virtual_goods";
        public const string OrderType_Delivery_Needed = "delivery_needed";

        #endregion

        #region Trade Type

        public const string TradeType_FenXiao = "fenxiao";

        #endregion
    }
}
